using System;
using System.Collections.Generic;
using SqlSugar;
using YL.Core.Dto;
using YL.Core.Entity;

namespace IServices
{
    public interface IWms_stockinServices : IBaseServices<Wms_stockin>
    {
        string PageList(PubParams.StockInBootstrapParams bootstrap);

        string PrintList(string stockInId);

        bool Auditin(long UserId, long stockInId);


        List<InventoryCollect> GetSumInventory(PubParams.StockInSummaryBootstrapParams bootparams);

        List<StockInfo> GetStockInfoHtml();

        StockInfoTableNew GetTableStockIn(string dateMin, string dateMax, int stockType);

        byte[] ExportList(string dateMin, string dateMax, int stockType);

        string GetStockInList(string dateMin, string dateMax, string materialId, int stockType = 0);

        (bool, string) Import(System.Data.DataTable dt, long userId, int stockType = 0);

        string WriteUploadInfo(string uploadDate, int stockType, long userId);
    }
}